home *** CD-ROM | disk | FTP | other *** search
/ A Virtual Reality Guide to Texas / CD.iso / texdata / trnsprtr.dir / 00514_pda audio.ls < prev    next >
Encoding:
Text File  |  1998-06-17  |  971 b   |  36 lines

  1. on mouseDown
  2.   global gVR.Active, gPDAHelp, gPDASearch, gPDAVR, gPDAQT, gPDAPict, gPDASnd, gPDAText, gNotUpdated, gPDACategory
  3.   if gPDASnd = 0 then
  4.     ButtonDown(10, EMPTY)
  5.   else
  6.     puppetSound(3, "beep3")
  7.     repeat while the stillDown
  8.       if rollOver(32) then
  9.         set the castNum of sprite 32 to 298
  10.       else
  11.         set the castNum of sprite 32 to 308
  12.       end if
  13.       updateStage()
  14.     end repeat
  15.   end if
  16.   if rollOver(32) then
  17.     puppetSprite(46, 1)
  18.     if soundBusy(2) then
  19.       puppetSound(2, 0)
  20.       set gPDASnd to 0
  21.     else
  22.       put the type of member the castNum of sprite 48
  23.       if the type of member the castNum of sprite 48 = #digitalVideo then
  24.         set gPDASnd to 0
  25.       else
  26.         set gPDASnd to 1
  27.         if the name of member the castNum of sprite 44 = "y12" then
  28.         else
  29.           puppetSound(2, the name of member the castNum of sprite 44 & ".aif")
  30.         end if
  31.       end if
  32.     end if
  33.     updateStage()
  34.   end if
  35. end
  36.